package com.example.aircraftwar.propfactory;

import com.example.aircraftwar.aircraft.AbstractEnemy;
import com.example.aircraftwar.prop.AbstractProp;
import com.example.aircraftwar.prop.BombProp;

public class BombFactory extends PropFactory {
    @Override
    public AbstractProp createProp(AbstractEnemy vanishedEnemy) {
        setProp(vanishedEnemy);
        return new BombProp(locationX,locationY,speedX,speedY);
    }
}
